<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Title</title>
        <style>
            *{
                margin: 0;
                padding: 0;
            }
            body,html{
                height: 100%;
            }
            body{
                display: flex;
                justify-content: center;
                align-items: center;
            }
            div{
                width: 500px;
                height: 500px;
                border: 1px solid pink;
            }
        </style>
    </head>
    <body>
        <div>
            <p></p>
        </div>
    </body>
</html>